package de.kandlin;

import javax.swing.UIManager;

import org.apache.log4j.Logger;

import de.kandlin.view.MainWindow;


public class Main {
	@SuppressWarnings("unused")
	private static final Logger logger = Logger.getLogger(Main.class);
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {

		setLookAndFeel();
		
		@SuppressWarnings("unused")
		MainWindow mainWindow = new MainWindow();
	}

	private static void setLookAndFeel() {
		if (System.getProperty("os.name").contains("Windows")) {
			try {
				UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
			} catch (Exception e) {
				logger.error(e);
			}
		}
	}
}
